package com.jfs.qy.strategy;

import com.jfs.qy.entity.response.AlarmList;

import java.util.List;

/**
 * @Description 告警事件处理策略接口
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/11/4
 */
public interface AlarmEventProcessStrategy {
    /**
     * 匹配策略
     * @param alarmList
     * @return
     */
    boolean isMatch(List<AlarmList> alarmList);

    /**
     * 策略匹配执行方法
     * @param alarmList
     */
    void  doProcessAlarmEvent(List<AlarmList> alarmList);
}
